home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / Xm / XmPrimitive.z / XmPrimitive
Encoding:
Text File  |  2002-10-03  |  55.8 KB  |  991 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee - The Primitive widget class
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           #include <Xm/Xm.h>
  13.  
  14.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  15.           This page documents Motif 2.1.
  16.  
  17.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.           Primitive is a widget class used as a supporting superclass
  19.           for other widget classes. It handles border drawing and
  20.           highlighting, traversal activation and deactivation, and
  21.           various callback lists needed by Primitive widgets.
  22.           Primitive and all its subclasses hold the
  23.           _X_m_Q_T_c_a_r_e_P_a_r_e_n_t_V_i_s_u_a_l trait.
  24.  
  25.         DDDDaaaattttaaaa TTTTrrrraaaannnnssssffffeeeerrrr BBBBeeeehhhhaaaavvvviiiioooorrrr
  26.           Primitive has no widget class conversion or destination
  27.           procedure.  Subclasses and the XXXXmmmmNNNNccccoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkk procedures
  28.           are responsible for any conversion of selections.
  29.           Subclasses and the subclass XXXXmmmmNNNNddddeeeessssttttiiiinnnnaaaattttiiiioooonnnnCCCCaaaallllllllbbbbaaaacccckkkk
  30.           procedures are responsible for any data transfers to the
  31.           widget.
  32.  
  33.         CCCCllllaaaasssssssseeeessss
  34.           Primitive inherits behavior, resources, and traits from
  35.           CCCCoooorrrreeee.
  36.  
  37.           The class pointer is _x_m_P_r_i_m_i_t_i_v_e_W_i_d_g_e_t_C_l_a_s_s.
  38.  
  39.           The class name is XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee.
  40.  
  41.         NNNNeeeewwww RRRReeeessssoooouuuurrrrcccceeeessss
  42.           The following table defines a set of widget resources used
  43.           by the programmer to specify data. The programmer can also
  44.           set the resource values for the inherited classes to set
  45.           attributes for this widget. To reference a resource by name
  46.           or by class in a ....XXXXddddeeeeffffaaaauuuullllttttssss file, remove the XXXXmmmmNNNN or XXXXmmmmCCCC
  47.           prefix and use the remaining letters. To specify one of the
  48.           defined values for a resource in a ....XXXXddddeeeeffffaaaauuuullllttttssss file, remove
  49.           the XXXXmmmm prefix and use the remaining letters (in either
  50.           lowercase or uppercase, but include any underscores between
  51.           words).  The codes in the access column indicate if the
  52.           given resource can be set at creation time (C), set by using
  53.           XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss (S), retrieved by using XXXXttttGGGGeeeettttVVVVaaaalllluuuueeeessss (G), or is
  54.           not applicable (N/A).
  55.  
  56.                                                XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  57.           NNNNaaaammmmeeee                      CCCCllllaaaassssssss                   TTTTyyyyppppeeee               DDDDeeeeffffaaaauuuulllltttt                AAAAcccccccceeeessssssss
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))
  71.  
  72.  
  73.  
  74.           XmNbottomShadowColor      XmCBottomShadowColor    Pixel              dynamic                CSG
  75.           XmNbottomShadowPixmap     XmCBottomShadowPixmap   Pixmap             XmUNSPECIFIED_PIXMAP   CSG
  76.           XmNconvertCallback        XmCCallback             XtCallbackList     NULL                   C
  77.           XmNforeground             XmCForeground           Pixel              dynamic                CSG
  78.           XmNhelpCallback           XmCCallback             XtCallbackList     NULL                   C
  79.           XmNhighlightColor         XmCHighlightColor       Pixel              dynamic                CSG
  80.           XmNhighlightOnEnter       XmCHighlightOnEnter     Boolean            False                  CSG
  81.           XmNhighlightPixmap        XmCHighlightPixmap      Pixmap             dynamic                CSG
  82.           XmNhighlightThickness     XmCHighlightThickness   Dimension          2                      CSG
  83.           XmNlayoutDirection        XmCLayoutDirection      XmDirection        dynamic                CG
  84.           XmNnavigationType         XmCNavigationType       XmNavigationType   XmNONE                 CSG
  85.           XmNpopupHandlerCallback   XmCCallback             XtCallbackList     NULL                   C
  86.           XmNshadowThickness        XmCShadowThickness      Dimension          2                      CSG
  87.           XmNtopShadowColor         XmCTopShadowColor       Pixel              dynamic                CSG
  88.           XmNtopShadowPixmap        XmCTopShadowPixmap      Pixmap             dynamic                CSG
  89.           XmNtraversalOn            XmCTraversalOn          Boolean            True                   CSG
  90.           XmNunitType               XmCUnitType             unsigned char      dynamic                CSG
  91.           XmNuserData               XmCUserData             XtPointer          NULL                   CSG
  92.  
  93.           XXXXmmmmNNNNbbbboooottttttttoooommmmSSSShhhhaaaaddddoooowwwwCCCCoooolllloooorrrr
  94.                     Specifies the color to use to draw the bottom and
  95.                     right sides of the border shadow.  This color is
  96.                     used if the XXXXmmmmNNNNttttooooppppSSSShhhhaaaaddddoooowwwwPPPPiiiixxxxmmmmaaaapppp resource is
  97.                     unspecified.
  98.  
  99.           XXXXmmmmNNNNbbbboooottttttttoooommmmSSSShhhhaaaaddddoooowwwwPPPPiiiixxxxmmmmaaaapppp
  100.                     Specifies the pixmap to use to draw the bottom and
  101.                     right sides of the border shadow.
  102.  
  103.           XXXXmmmmNNNNccccoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkk
  104.                     Specifies a list of callbacks called when the
  105.                     widget is asked to convert a selection.  The type
  106.                     of the structure whose address is passed to these
  107.                     callbacks is XXXXmmmmCCCCoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkkSSSSttttrrrruuuucccctttt.  The reason
  108.                     is XXXXmmmmCCCCRRRR____OOOOKKKK.
  109.  
  110.           XXXXmmmmNNNNffffoooorrrreeeeggggrrrroooouuuunnnndddd
  111.                     Specifies the foreground drawing color used by
  112.                     Primitive widgets.
  113.  
  114.           XXXXmmmmNNNNhhhheeeellllppppCCCCaaaallllllllbbbbaaaacccckkkk
  115.                     Specifies the list of callbacks that is called
  116.                     when the help key is pressed. The reason sent by
  117.                     the callback is XXXXmmmmCCCCRRRR____HHHHEEEELLLLPPPP.
  118.  
  119.           XXXXmmmmNNNNhhhhiiiigggghhhhlllliiiigggghhhhttttCCCCoooolllloooorrrr
  120.                     Specifies the color of the highlighting rectangle.
  121.                     This color is used if the highlight pixmap
  122.                     resource is XXXXmmmmUUUUNNNNSSSSPPPPEEEECCCCIIIIFFFFIIIIEEEEDDDD____PPPPIIIIXXXXMMMMAAAAPPPP.
  123.  
  124.           XXXXmmmmNNNNhhhhiiiigggghhhhlllliiiigggghhhhttttOOOOnnnnEEEEnnnntttteeeerrrr
  125.                     Specifies if the highlighting rectangle is drawn
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))
  137.  
  138.  
  139.  
  140.                     when the cursor moves into the widget.  If the
  141.                     shell's focus policy is XXXXmmmmEEEEXXXXPPPPLLLLIIIICCCCIIIITTTT, this resource
  142.                     is ignored, and the widget is highlighted when it
  143.                     has the focus.  If the shell's focus policy is
  144.                     XXXXmmmmPPPPOOOOIIIINNNNTTTTEEEERRRR and if this resource is True, the
  145.                     highlighting rectangle is drawn when the cursor
  146.                     moves into the widget.  If the shell's focus
  147.                     policy is XXXXmmmmPPPPOOOOIIIINNNNTTTTEEEERRRR and if this resource is False,
  148.                     the highlighting rectangle is not drawn when the
  149.                     the cursor moves into the widget.  The default is
  150.                     False.
  151.  
  152.           XXXXmmmmNNNNhhhhiiiigggghhhhlllliiiigggghhhhttttPPPPiiiixxxxmmmmaaaapppp
  153.                     Specifies the pixmap used to draw the highlighting
  154.                     rectangle.
  155.  
  156.           XXXXmmmmNNNNhhhhiiiigggghhhhlllliiiigggghhhhttttTTTThhhhiiiicccckkkknnnneeeessssssss
  157.                     Specifies the thickness of the highlighting
  158.                     rectangle.
  159.  
  160.           XXXXmmmmNNNNllllaaaayyyyoooouuuuttttDDDDiiiirrrreeeeccccttttiiiioooonnnn
  161.                     Specifies the direction in which components of the
  162.                     primitive (including strings) are laid out. The
  163.                     values are of type XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn. If the widget's
  164.                     parent is a primitive or shell, the value is
  165.                     inherited from the widget's parent. Otherwise, it
  166.                     is inherited from the closest ancestor vendor or
  167.                     menu shell. Refer to the XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn(3) reference
  168.                     page for the possible direction values.
  169.  
  170.           XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeee
  171.                     Determines whether the widget is a tab group.
  172.  
  173.                     XXXXmmmmNNNNOOOONNNNEEEE    Indicates that the widget is not a tab
  174.                               group.
  175.  
  176.                     XXXXmmmmTTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP
  177.                               Indicates that the widget is a tab
  178.                               group, unless the XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeee of
  179.                               another widget in the hierarchy is
  180.                               XXXXmmmmEEEEXXXXCCCCLLLLUUUUSSSSIIIIVVVVEEEE____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP.
  181.  
  182.                     XXXXmmmmSSSSTTTTIIIICCCCKKKKYYYY____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP
  183.                               Indicates that the widget is a tab
  184.                               group, even if the XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeee of
  185.                               another widget in the hierarchy is
  186.                               XXXXmmmmEEEEXXXXCCCCLLLLUUUUSSSSIIIIVVVVEEEE____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP.
  187.  
  188.                     XXXXmmmmEEEEXXXXCCCCLLLLUUUUSSSSIIIIVVVVEEEE____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP
  189.                               Indicates that the widget is a tab group
  190.                               and that widgets in the hierarchy whose
  191.                               XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeee is XXXXmmmmTTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP are not
  192.  
  193.  
  194.  
  195.      Page 3                                          (printed 10/3/02)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))
  203.  
  204.  
  205.  
  206.                               tab groups.
  207.  
  208.                               When a parent widget has an
  209.                               XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeee of
  210.                               XXXXmmmmEEEEXXXXCCCCLLLLUUUUSSSSIIIIVVVVEEEE____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP, traversal of
  211.                               non-tab-group widgets within the group
  212.                               is based on the order of those widgets
  213.                               in their parent's XXXXmmmmNNNNcccchhhhiiiillllddddrrrreeeennnn list.
  214.  
  215.                               When the XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeee of any widget
  216.                               in a hierarchy is XXXXmmmmEEEEXXXXCCCCLLLLUUUUSSSSIIIIVVVVEEEE____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP,
  217.                               traversal of tab groups in the hierarchy
  218.                               proceeds to widgets in the order in
  219.                               which their XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeeeresources
  220.                               were specified as XXXXmmmmEEEEXXXXCCCCLLLLUUUUSSSSIIIIVVVVEEEE____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP
  221.                               or XXXXmmmmSSSSTTTTIIIICCCCKKKKYYYY____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP, whether by
  222.                               creating the widgets with that value, by
  223.                               calling XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss, or by calling
  224.                               XXXXmmmmAAAAddddddddTTTTaaaabbbbGGGGrrrroooouuuupppp.
  225.  
  226.           XXXXmmmmNNNNppppooooppppuuuuppppHHHHaaaannnnddddlllleeeerrrrCCCCaaaallllllllbbbbaaaacccckkkk
  227.                     Allows the application to control which popup menu
  228.                     will be automatically posted. The reason can
  229.                     either be XXXXmmmmCCCCRRRR____PPPPOOOOSSSSTTTT or XXXXmmmmCCCCRRRR____RRRREEEEPPPPOOOOSSSSTTTT::::
  230.  
  231.                     XXXXmmmmCCCCRRRR____PPPPOOOOSSSSTTTT Indicates that this is a regular posting
  232.                               request.
  233.  
  234.                     XXXXmmmmCCCCRRRR____RRRREEEEPPPPOOOOSSSSTTTT
  235.                               Indicates that the menu was just
  236.                               unposted and that this callback was
  237.                               invoked on a replay.
  238.  
  239.                     This callback uses the
  240.                     XXXXmmmmPPPPooooppppuuuuppppHHHHaaaannnnddddlllleeeerrrrCCCCaaaallllllllbbbbaaaacccckkkkSSSSttttrrrruuuuccccttttstructure to pass
  241.                     information.
  242.  
  243.           XXXXmmmmNNNNsssshhhhaaaaddddoooowwwwTTTThhhhiiiicccckkkknnnneeeessssssss
  244.                     Specifies the size of the drawn border shadow.
  245.  
  246.           XXXXmmmmNNNNttttooooppppSSSShhhhaaaaddddoooowwwwCCCCoooolllloooorrrr
  247.                     Specifies the color to use to draw the top and
  248.                     left sides of the border shadow.  This color is
  249.                     used if the XXXXmmmmNNNNttttooooppppSSSShhhhaaaaddddoooowwwwPPPPiiiixxxxmmmmaaaapppp resource is
  250.                     unspecified.  If a default top shadow pixmap
  251.                     exists, it will need to be removed for the
  252.                     XXXXmmmmNNNNttttooooppppSSSShhhhaaaaddddoooowwwwCCCCoooolllloooorrrr to take effect.
  253.  
  254.           XXXXmmmmNNNNttttooooppppSSSShhhhaaaaddddoooowwwwPPPPiiiixxxxmmmmaaaapppp
  255.                     Specifies the pixmap to use to draw the top and
  256.                     left sides of the border shadow.  A Primitive top
  257.                     shadow pixmap is created in two situations. In
  258.  
  259.  
  260.  
  261.      Page 4                                          (printed 10/3/02)
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.      XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))
  269.  
  270.  
  271.  
  272.                     either of these situations, a default 50-
  273.                     foreground top shadow pixmap is created.
  274.  
  275.                        +o  If the Primitive top shadow color is the
  276.                           same as the Core background pixel color.
  277.  
  278.                        +o  If the depth of the screen is only one.
  279.  
  280.                     For example, if a widget with the same top shadow
  281.                     and background color is created, a default shadow
  282.                     pixmap is generated. Such a pixmap needs to be
  283.                     removed for the XXXXmmmmNNNNttttooooppppSSSShhhhaaaaddddoooowwwwCCCCoooolllloooorrrr resource to take
  284.                     effect.
  285.  
  286.           XXXXmmmmNNNNttttrrrraaaavvvveeeerrrrssssaaaallllOOOOnnnn
  287.                     Specifies if traversal is activated for this
  288.                     widget. In CascadeButton and CascadeButtonGadget,
  289.                     this resource is forced to True unless the parent
  290.                     is an OptionMenu.
  291.  
  292.           XXXXmmmmNNNNuuuunnnniiiittttTTTTyyyyppppeeee
  293.                     Provides the basic support for resolution
  294.                     independence.  It defines the type of units a
  295.                     widget uses with sizing and positioning resources.
  296.                     If the widget's parent is a subclass of XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr
  297.                     and if the XXXXmmmmNNNNuuuunnnniiiittttTTTTyyyyppppeeee resource is not explicitly
  298.                     set, it defaults to the unit type of the parent
  299.                     widget.  If the widget's parent is not a subclass
  300.                     of XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr, the resource has a default unit type
  301.                     of XXXXmmmmPPPPIIIIXXXXEEEELLLLSSSS.
  302.  
  303.                     The unit type can also be specified in resource
  304.                     files, with the following format:
  305.  
  306.           <_f_l_o_a_t_i_n_g _v_a_l_u_e><_u_n_i_t>
  307.  
  308.                     where:
  309.  
  310.                     _u_n_i_t      is <" ", pixels, inches, centimeters,
  311.                               millimeters, points, font units>
  312.  
  313.                     _p_i_x_e_l_s    is <_p_i_x, _p_i_x_e_l, _p_i_x_e_l_s>
  314.  
  315.                     _i_n_c_h_e_s    is <_i_n, _i_n_c_h, _i_n_c_h_e_s>
  316.  
  317.                     _c_e_n_t_i_m_e_t_e_r
  318.                               is <_c_m, _c_e_n_t_i_m_e_t_e_r, _c_e_n_t_i_m_e_t_e_r_s>
  319.  
  320.                     _m_i_l_l_i_m_e_t_e_r_s
  321.                               is <_m_m, _m_i_l_l_i_m_e_t_e_r, _m_i_l_l_i_m_e_t_e_r_s>
  322.  
  323.                     ppppooooiiiinnnnttttssss    is <_p_t, _p_o_i_n_t, _p_o_i_n_t_s>
  324.  
  325.  
  326.  
  327.      Page 5                                          (printed 10/3/02)
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.      XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))
  335.  
  336.  
  337.  
  338.                     ffffoooonnnntttt uuuunnnniiiittttssss
  339.                               is <_f_u, ffffoooonnnntttt____uuuunnnniiiitttt, ffffoooonnnntttt____uuuunnnniiiittttssss>
  340.  
  341.                     _f_l_o_a_t     is {"+"|"-"}{{<"0"-"9">*}.}<"0"-"9">*
  342.  
  343.                               Note that the type Dimension must always
  344.                               be positive.
  345.  
  346.                     For example,
  347.  
  348.           xmfonts*XmMainWindow.height: 10.4cm
  349.           *PostIn.width: 3inches
  350.  
  351.                     XXXXmmmmNNNNuuuunnnniiiittttTTTTyyyyppppeeee can have the following values:
  352.  
  353.                     XXXXmmmmPPPPIIIIXXXXEEEELLLLSSSS  All values provided to the widget are
  354.                               treated as normal pixel values.
  355.  
  356.                     XXXXmmmmMMMMIIIILLLLLLLLIIIIMMMMEEEETTTTEEEERRRRSSSS
  357.                               All values provided to the widget are
  358.                               treated as normal millimeter values.
  359.  
  360.                     _X_m_1_0_0_T_H__M_I_L_L_I_M_E_T_E_R_S
  361.                               All values provided to the widget are
  362.                               treated as 1/100 of a millimeter.
  363.  
  364.                     XXXXmmmmCCCCEEEENNNNTTTTIIIIMMMMEEEETTTTEEEERRRRSSSS
  365.                               All values provided to the widget are
  366.                               treated as normal centimeter values.
  367.  
  368.                     XXXXmmmmIIIINNNNCCCCHHHHEEEESSSS  All values provided to the widget are
  369.                               treated as normal inch values.
  370.  
  371.                     _X_m_1_0_0_0_T_H__I_N_C_H_E_S
  372.                               All values provided to the widget are
  373.                               treated as 1/1000 of an inch.
  374.  
  375.                     XXXXmmmmPPPPOOOOIIIINNNNTTTTSSSS  All values provided to the widget are
  376.                               treated as normal point values. A point
  377.                               is a unit used in text processing
  378.                               applications and is defined as 1/72 of
  379.                               an inch.
  380.  
  381.                     _X_m_1_0_0_T_H__P_O_I_N_T_S
  382.                               All values provided to the widget are
  383.                               treated as 1/100 of a point. A point is
  384.                               a unit used in text processing
  385.                               applications and is defined as 1/72 of
  386.                               an inch.
  387.  
  388.                     XXXXmmmmFFFFOOOONNNNTTTT____UUUUNNNNIIIITTTTSSSS
  389.                               All values provided to the widget are
  390.  
  391.  
  392.  
  393.      Page 6                                          (printed 10/3/02)
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.      XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))
  401.  
  402.  
  403.  
  404.                               treated as normal font units. A font
  405.                               unit has horizontal and vertical
  406.                               components.  These are the values of the
  407.                               XmScreen resources
  408.                               XXXXmmmmNNNNhhhhoooorrrriiiizzzzoooonnnnttttaaaallllFFFFoooonnnnttttUUUUnnnniiiittttand
  409.                               XXXXmmmmNNNNvvvveeeerrrrttttiiiiccccaaaallllFFFFoooonnnnttttUUUUnnnniiiitttt.
  410.  
  411.                     _X_m_1_0_0_T_H__F_O_N_T__U_N_I_T_S
  412.                               All values provided to the widget are
  413.                               treated as 1/100 of a font unit.  A font
  414.                               unit has horizontal and vertical
  415.                               components.  These are the values of the
  416.                               XXXXmmmmSSSSccccrrrreeeeeeeennnn resources
  417.                               XXXXmmmmNNNNhhhhoooorrrriiiizzzzoooonnnnttttaaaallllFFFFoooonnnnttttUUUUnnnniiiittttand
  418.                               XXXXmmmmNNNNvvvveeeerrrrttttiiiiccccaaaallllFFFFoooonnnnttttUUUUnnnniiiitttt.
  419.  
  420.           XXXXmmmmNNNNuuuusssseeeerrrrDDDDaaaattttaaaa
  421.                     Allows the application to attach any necessary
  422.                     specific data to the widget.  It is an internally
  423.                     unused resource.
  424.  
  425.         DDDDyyyynnnnaaaammmmiiiicccc CCCCoooolllloooorrrr DDDDeeeeffffaaaauuuullllttttssss
  426.           The foreground, background, top shadow, bottom shadow, and
  427.           highlight color resources are dynamically defaulted.  If no
  428.           color data is specified, the colors are automatically
  429.           generated. On a single-plane system, a black and white color
  430.           scheme is generated. Otherwise, four colors are generated,
  431.           which display the correct shading for the 3-D visuals.  If
  432.           the background is the only color specified for a widget, the
  433.           top shadow and bottom shadow colors are generated to give
  434.           the 3-D appearance.  Foreground and highlight colors are
  435.           generated to provide sufficient contrast with the background
  436.           color.
  437.  
  438.           Colors are generated only at creation. Resetting the
  439.           background through XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss does not regenerate the other
  440.           colors.  XXXXmmmmCCCChhhhaaaannnnggggeeeeCCCCoooolllloooorrrr can be used to recalculate all
  441.           associated colors based on a new background color.
  442.  
  443.         IIIInnnnhhhheeeerrrriiiitttteeeedddd RRRReeeessssoooouuuurrrrcccceeeessss
  444.           Primitive inherits behavior and resources from the
  445.           superclass described in the following table.  For a complete
  446.           description of each resource, refer to the reference page
  447.           for that superclass.
  448.  
  449.                                                         CCCCoooorrrreeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  450.           NNNNaaaammmmeeee                            CCCCllllaaaassssssss                           TTTTyyyyppppeeee             DDDDeeeeffffaaaauuuulllltttt                AAAAcccccccceeeessssssss
  451.           XmNaccelerators                 XmCAccelerators                 XtAccelerators   dynamic                CSG
  452.           XmNancestorSensitive            XmCSensitive                    Boolean          dynamic                G
  453.           XmNbackground                   XmCBackground                   Pixel            dynamic                CSG
  454.  
  455.  
  456.  
  457.  
  458.  
  459.      Page 7                                          (printed 10/3/02)
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.      XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))
  467.  
  468.  
  469.  
  470.           XmNbackgroundPixmap             XmCPixmap                       Pixmap           XmUNSPECIFIED_PIXMAP   CSG
  471.           XmNborderColor                  XmCBorderColor                  Pixel            XtDefaultForeground    CSG
  472.           XmNborderPixmap                 XmCPixmap                       Pixmap           XmUNSPECIFIED_PIXMAP   CSG
  473.           XmNborderWidth                  XmCBorderWidth                  Dimension        0                      CSG
  474.           XmNcolormap                     XmCColormap                     Colormap         dynamic                CG
  475.           XmNdepth                        XmCDepth                        int              dynamic                CG
  476.           XmNdestroyCallback              XmCCallback                     XtCallbackList   NULL                   C
  477.           XmNheight                       XmCHeight                       Dimension        dynamic                CSG
  478.           XmNinitialResourcesPersistent   XmCInitialResourcesPersistent   Boolean          True                   C
  479.           XmNmappedWhenManaged            XmCMappedWhenManaged            Boolean          True                   CSG
  480.           XmNscreen                       XmCScreen                       Screen *         dynamic                CG
  481.           XmNsensitive                    XmCSensitive                    Boolean          True                   CSG
  482.           XmNtranslations                 XmCTranslations                 XtTranslations   dynamic                CSG
  483.           XmNwidth                        XmCWidth                        Dimension        dynamic                CSG
  484.           XmNx                            XmCPosition                     Position         0                      CSG
  485.           XmNy                            XmCPosition                     Position         0                      CSG
  486.  
  487.         CCCCaaaallllllllbbbbaaaacccckkkk IIIInnnnffffoooorrrrmmmmaaaattttiiiioooonnnn
  488.           A pointer to the following structure is passed to each
  489.           callback for XXXXmmmmNNNNhhhheeeellllppppCCCCaaaallllllllbbbbaaaacccckkkk:
  490.  
  491.           typedef struct
  492.           {
  493.                   int _r_e_a_s_o_n;
  494.                   XEvent * _e_v_e_n_t;
  495.           } XmAnyCallbackStruct;
  496.  
  497.           _r_e_a_s_o_n    Indicates why the callback was invoked.  For this
  498.                     callback, _r_e_a_s_o_n is set to XXXXmmmmCCCCRRRR____HHHHEEEELLLLPPPP.
  499.  
  500.           _e_v_e_n_t     Points to the _X_E_v_e_n_t that triggered the callback.
  501.  
  502.           A pointer to the following callback structure is passed to
  503.           the XXXXmmmmNNNNccccoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkk procedures:
  504.  
  505.           typedef struct
  506.           {
  507.                   int _r_e_a_s_o_n;
  508.                   XEvent *_e_v_e_n_t;
  509.                   Atom _s_e_l_e_c_t_i_o_n;
  510.                   Atom _t_a_r_g_e_t;
  511.                   XtPointer _s_o_u_r_c_e__d_a_t_a;
  512.                   XtPointer location_data;
  513.                   int _f_l_a_g_s;
  514.                   XtPointer _p_a_r_m;
  515.                   int _p_a_r_m__f_o_r_m_a_t;
  516.                   unsigned long _p_a_r_m__l_e_n_g_t_h;
  517.                   Atom _p_a_r_m__t_y_p_e;
  518.                   int _s_t_a_t_u_s;
  519.                   XtPointer _v_a_l_u_e;
  520.                   Atom _t_y_p_e;
  521.                   int _f_o_r_m_a_t;
  522.  
  523.  
  524.  
  525.      Page 8                                          (printed 10/3/02)
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.      XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))
  533.  
  534.  
  535.  
  536.                   unsigned long _l_e_n_g_t_h;
  537.           } XmConvertCallbackStruct;
  538.  
  539.           _r_e_a_s_o_n    Indicates why the callback was invoked.
  540.  
  541.           _e_v_e_n_t     Points to the _X_E_v_e_n_t that triggered the callback.
  542.                     It can be NULL.
  543.  
  544.           _s_e_l_e_c_t_i_o_n Indicates the selection for which conversion is
  545.                     being requested.  Possible values are _C_L_I_P_B_O_A_R_D,
  546.                     _P_R_I_M_A_R_Y, _S_E_C_O_N_D_A_R_Y, and ____MMMMOOOOTTTTIIIIFFFF____DDDDRRRROOOOPPPP.
  547.  
  548.           _t_a_r_g_e_t    Indicates the conversion target.
  549.  
  550.           _s_o_u_r_c_e__d_a_t_a
  551.                     Contains information about the selection source.
  552.                     When the selection is ____MMMMOOOOTTTTIIIIFFFF____DDDDRRRROOOOPPPP, _s_o_u_r_c_e__d_a_t_a is
  553.                     the DragContext.  Otherwise, it is NULL.
  554.  
  555.           llllooooccccaaaattttiiiioooonnnn____ddddaaaattttaaaa
  556.                     Contains information about the location of data to
  557.                     be converted.  If the value is NULL, the data to
  558.                     be transferred consists of the widget's current
  559.                     selection.  Otherwise, the type and interpretation
  560.                     of the value are specific to the widget class.
  561.  
  562.           _f_l_a_g_s     Indicates the status of the conversion. Following
  563.                     are the possible values:
  564.  
  565.                     XXXXmmmmCCCCOOOONNNNVVVVEEEERRRRTTTTIIIINNNNGGGG____NNNNOOOONNNNEEEE
  566.                               This flag is currently unused.
  567.  
  568.                     XXXXmmmmCCCCOOOONNNNVVVVEEEERRRRTTTTIIIINNNNGGGG____PPPPAAAARRRRTTTTIIIIAAAALLLL
  569.                               The target widget was able to be
  570.                               converted, but some data was lost.
  571.  
  572.                     XXXXmmmmCCCCOOOONNNNVVVVEEEERRRRTTTTIIIINNNNGGGG____SSSSAAAAMMMMEEEE
  573.                               The conversion target is the source of
  574.                               the data to be transferred.
  575.  
  576.                     XXXXmmmmCCCCOOOONNNNVVVVEEEERRRRTTTTIIIINNNNGGGG____TTTTRRRRAAAANNNNSSSSAAAACCCCTTTT
  577.                               This flag is currently unused.
  578.  
  579.           _p_a_r_m      Contains parameter data for this target.  If no
  580.                     parameter data exists, the value is NULL.
  581.  
  582.                     When _s_e_l_e_c_t_i_o_n is _C_L_I_P_B_O_A_R_D and _t_a_r_g_e_t is
  583.                     ____MMMMOOOOTTTTIIIIFFFF____CCCCLLLLIIIIPPPPBBBBOOOOAAAARRRRDDDD____TTTTAAAARRRRGGGGEEEETTTTSSSS or
  584.                     ____MMMMOOOOTTTTIIIIFFFF____DDDDEEEEFFFFEEEERRRRRRRREEEEDDDD____CCCCLLLLIIIIPPPPBBBBOOOOAAAARRRRDDDD____TTTTAAAARRRRGGGGEEEETTTTSSSS, the value is
  585.                     the requested operation (XXXXmmmmCCCCOOOOPPPPYYYY, XXXXmmmmMMMMOOOOVVVVEEEE, or
  586.                     XXXXmmmmLLLLIIIINNNNKKKK).
  587.  
  588.  
  589.  
  590.  
  591.      Page 9                                          (printed 10/3/02)
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.      XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))
  599.  
  600.  
  601.  
  602.           _p_a_r_m__f_o_r_m_a_t
  603.                     Specifies whether the data in _p_a_r_m should be
  604.                     viewed as a list of _c_h_a_r, _s_h_o_r_t, or _l_o_n_g
  605.                     quantities.  Possible values are 0 (when _p_a_r_m is
  606.                     NULL), 8 (when the data in _p_a_r_m should be viewed
  607.                     as a list of _c_h_a_rs), 16 (when the data in _p_a_r_m
  608.                     should be viewed as a list of _s_h_o_r_ts), or 32 (when
  609.                     the data in _p_a_r_m should be viewed as a list of
  610.                     _l_o_n_gs).  Note that _p_a_r_m__f_o_r_m_a_t symbolizes a data
  611.                     type, not the number of bits in each list element.
  612.                     For example, on some machines, a _p_a_r_m__f_o_r_m_a_t of 32
  613.                     means that the data in _p_a_r_m should be viewed as a
  614.                     list of 64-bit quantities, not 32-bit quantities.
  615.  
  616.           _p_a_r_m__l_e_n_g_t_h
  617.                     Specifies the number of elements of data in _p_a_r_m,
  618.                     where each element has the size specified by
  619.                     _p_a_r_m__f_o_r_m_a_t.  When _p_a_r_m is NULL, the value is 0.
  620.  
  621.           _p_a_r_m__t_y_p_e Specifies the parameter type of _p_a_r_m.
  622.  
  623.           _s_t_a_t_u_s    An IN/OUT member that specifies the status of the
  624.                     conversion.  The initial value is
  625.                     XXXXmmmmCCCCOOOONNNNVVVVEEEERRRRTTTT____DDDDEEEEFFFFAAAAUUUULLLLTTTT.  The callback procedure can set
  626.                     this member to one of the following values:
  627.  
  628.                     XXXXmmmmCCCCOOOONNNNVVVVEEEERRRRTTTT____DDDDEEEEFFFFAAAAUUUULLLLTTTT
  629.                               This value means that the widget class
  630.                               conversion procedure, if any, is called
  631.                               after the callback procedures return.
  632.                               If the widget class conversion procedure
  633.                               produces any data, it overwrites the
  634.                               data provided by the callback procedures
  635.                               in the _v_a_l_u_emember.
  636.  
  637.                     XXXXmmmmCCCCOOOONNNNVVVVEEEERRRRTTTT____MMMMEEEERRRRGGGGEEEE
  638.                               This value means that the widget class
  639.                               conversion procedure, if any, is called
  640.                               after the callback procedures return.
  641.                               If the widget class conversion procedure
  642.                               produces any data, it appends its data
  643.                               to the data provided by the callback
  644.                               procedures in the _v_a_l_u_e member.  This
  645.                               value is intended for use with targets
  646.                               that result in lists of data, such as
  647.                               _T_A_R_G_E_T_S.
  648.  
  649.                     XXXXmmmmCCCCOOOONNNNVVVVEEEERRRRTTTT____DDDDOOOONNNNEEEE
  650.                               This value means that the callback
  651.                               procedure has successfully finished the
  652.                               conversion.  The widget class conversion
  653.                               procedure, if any, is not called after
  654.  
  655.  
  656.  
  657.      Page 10                                         (printed 10/3/02)
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.      XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))
  665.  
  666.  
  667.  
  668.                               the callback procedures return.
  669.  
  670.                     XXXXmmmmCCCCOOOONNNNVVVVEEEERRRRTTTT____RRRREEEEFFFFUUUUSSSSEEEE
  671.                               This value means that the callback
  672.                               procedure has terminated the conversion
  673.                               process without completing the requested
  674.                               conversion.  The widget class conversion
  675.                               procedure, if any, is not called after
  676.                               the callback procedures return.
  677.  
  678.           _v_a_l_u_e     An IN/OUT parameter that contains any data that
  679.                     the callback procedure produces as a result of the
  680.                     conversion.  The initial value is NULL.  If the
  681.                     callback procedure sets this member, it must
  682.                     ensure that the _t_y_p_e, _f_o_r_m_a_t, and _l_e_n_g_t_h members
  683.                     correspond to the data in _v_a_l_u_e.  The callback
  684.                     procedure is responsible for allocating memory
  685.                     when it sets this member.  The toolkit frees this
  686.                     memory when it is no longer needed.
  687.  
  688.           _t_y_p_e      An IN/OUT parameter that indicates the type of the
  689.                     data in the _v_a_l_u_e member.  The initial value is
  690.                     _I_N_T_E_G_E_R.
  691.  
  692.           _f_o_r_m_a_t    An IN/OUT parameter that specifies whether the
  693.                     data in _v_a_l_u_e should be viewed as a list of _c_h_a_r,
  694.                     _s_h_o_r_t, or _l_o_n_g quantities.  The initial value is
  695.                     8.  The callback procedure can set this member to
  696.                     8 (for a list of _c_h_a_r), 16 (for a list of _s_h_o_r_t),
  697.                     or 32 (for a list of _l_o_n_g).
  698.  
  699.           _l_e_n_g_t_h    An IN/OUT member that specifies the number of
  700.                     elements of data in _v_a_l_u_e, where each element has
  701.                     the size symbolized by _f_o_r_m_a_t.  The initial value
  702.                     is 0.
  703.  
  704.           A pointer to the following structure is passed to each
  705.           callback for XXXXmmmmNNNNppppooooppppuuuuppppHHHHaaaannnnddddlllleeeerrrrCCCCaaaallllllllbbbbaaaacccckkkk:
  706.  
  707.           typedef struct
  708.           {
  709.                   int _r_e_a_s_o_n;
  710.                   XEvent * _x_e_v_e_n_t;
  711.                   Widget _m_e_n_u_T_o_P_o_s_t;
  712.                   Boolean _p_o_s_t_I_t;
  713.                   Widget _t_a_r_g_e_t;
  714.           } XmPopupHandlerCallbackStruct;
  715.  
  716.           _r_e_a_s_o_n    Indicates why the callback was invoked.
  717.  
  718.           _x_e_v_e_n_t    Points to the _X_E_v_e_n_t that triggered the handler.
  719.  
  720.  
  721.  
  722.  
  723.      Page 11                                         (printed 10/3/02)
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.      XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))
  731.  
  732.  
  733.  
  734.           _m_e_n_u_T_o_P_o_s_t
  735.                     Specifies the popup menu that the menu system
  736.                     believes should be posted. The application may
  737.                     modify this field.
  738.  
  739.           _p_o_s_t_I_t    Indicates whether the posting process should
  740.                     continue. The application may modify this field.
  741.  
  742.           _t_a_r_g_e_t    Specifies the most specific widget or gadget that
  743.                     the menu sytem found from the event that matches
  744.                     the event.
  745.  
  746.         TTTTrrrraaaannnnssssllllaaaattttiiiioooonnnnssss
  747.           The XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee translations are listed below.
  748.  
  749.           Note that for buttons in menus, altering translations in
  750.           ####oooovvvveeeerrrrrrrriiiiddddeeeeor ####aaaauuuuggggmmmmeeeennnntttt mode is undefined.
  751.  
  752.           The following key names are listed in the X standard key
  753.           event translation table syntax.  This format is the one used
  754.           by Motif to specify the widget actions corresponding to a
  755.           given key.  A brief overview of the format is provided under
  756.           VVVViiiirrrrttttuuuuaaaallllBBBBiiiinnnnddddiiiinnnnggggssss(3).  For a complete description of the
  757.           format, please refer to the X Toolkit Instrinsics
  758.           Documentation.
  759.  
  760.           ::::<<<<KKKKeeeeyyyy>>>><<<<oooossssffffAAAAccccttttiiiivvvvaaaatttteeee>>>>:
  761.                     PrimitiveParentActivate()
  762.  
  763.           ::::<<<<KKKKeeeeyyyy>>>><<<<oooossssffffCCCCaaaannnncccceeeellll>>>>:
  764.                     PrimitiveParentCancel()
  765.  
  766.           ::::<<<<KKKKeeeeyyyy>>>><<<<oooossssffffBBBBeeeeggggiiiinnnnLLLLiiiinnnneeee>>>>:
  767.                     PrimitiveTraverseHome()
  768.  
  769.           ::::<<<<KKKKeeeeyyyy>>>><<<<oooossssffffUUUUpppp>>>>:
  770.                     PrimitiveTraverseUp()
  771.  
  772.           ::::<<<<KKKKeeeeyyyy>>>><<<<oooossssffffDDDDoooowwwwnnnn>>>>:
  773.                     PrimitiveTraverseDown()
  774.  
  775.           ::::<<<<KKKKeeeeyyyy>>>><<<<oooossssffffLLLLeeeefffftttt>>>>:
  776.                     PrimitiveTraverseLeft()
  777.  
  778.           ::::<<<<KKKKeeeeyyyy>>>><<<<oooossssffffRRRRiiiigggghhhhtttt>>>>:
  779.                     PrimitiveTraverseRight()
  780.  
  781.           ~~~~ssss ~~~~mmmm ~~~~aaaa <<<<KKKKeeeeyyyy>>>>RRRReeeettttuuuurrrrnnnn:
  782.                     PrimitiveParentActivate()
  783.  
  784.           ssss ~~~~mmmm ~~~~aaaa <<<<KKKKeeeeyyyy>>>>TTTTaaaabbbb:
  785.                     PrimitivePrevTabGroup()
  786.  
  787.  
  788.  
  789.      Page 12                                         (printed 10/3/02)
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.      XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))
  797.  
  798.  
  799.  
  800.           ~~~~mmmm ~~~~aaaa <<<<KKKKeeeeyyyy>>>>TTTTaaaabbbb:
  801.                     PrimitiveNextTabGroup()
  802.  
  803.           <<<<KKKKeeeeyyyy>>>><<<<oooossssffffHHHHeeeellllpppp>>>>:
  804.                     PrimitiveHelp()
  805.  
  806.         AAAAccccttttiiiioooonnnn RRRRoooouuuuttttiiiinnnneeeessss
  807.           The XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee action routines are
  808.  
  809.           PrimitiveHelp():
  810.                     Calls the callbacks for XXXXmmmmNNNNhhhheeeellllppppCCCCaaaallllllllbbbbaaaacccckkkk if any
  811.                     exist. If there are no help callbacks for this
  812.                     widget, this action calls the help callbacks for
  813.                     the nearest ancestor that has them.
  814.  
  815.           PrimitiveNextTabGroup():
  816.                     This action depends on the value of the Display
  817.                     resource XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeBBBBuuuuttttttttoooonnnnTTTTaaaabbbb. When
  818.                     XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeBBBBuuuuttttttttoooonnnnTTTTaaaabbbb is False (default), this action
  819.                     traverses to the first item in the next tab group.
  820.                     If the current tab group is the last entry in the
  821.                     tab group list, it wraps to the beginning of the
  822.                     tab group list.
  823.  
  824.                     When XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeBBBBuuuuttttttttoooonnnnTTTTaaaabbbb is True, this action moves
  825.                     to the next item within the current tab group,
  826.                     unless it is the last item in the tab group. When
  827.                     the item is the last in the group, the action
  828.                     traverses to the first item in the next tab group.
  829.                     The XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeBBBBuuuuttttttttoooonnnnTTTTaaaabbbb behavior applies only to
  830.                     PushButton, ArrowButton, and DrawnArrow.
  831.  
  832.           PrimitiveParentActivate():
  833.                     If the parent is a manager, passes the KKKKAAAAccccttttiiiivvvvaaaatttteeee
  834.                     event received by the widget to the parent.
  835.  
  836.           PrimitiveParentCancel():
  837.                     If the parent is a manager, passes the KKKKCCCCaaaannnncccceeeellll
  838.                     event received by the widget to the parent.
  839.  
  840.           PrimitivePrevTabGroup():
  841.                     This action depends on the value of the Display
  842.                     resource XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeBBBBuuuuttttttttoooonnnnTTTTaaaabbbb. When
  843.                     XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeBBBBuuuuttttttttoooonnnnTTTTaaaabbbb is False (default), this action
  844.                     traverses to the first item in the previous tab
  845.                     group. If the beginning of the tab group list is
  846.                     reached, it wraps to the end of the tab group
  847.                     list.
  848.  
  849.                     When XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeBBBBuuuuttttttttoooonnnnTTTTaaaabbbb is True, this action moves
  850.                     to the previous item within the current tab group
  851.                     unless it is the first item in the tab group. When
  852.  
  853.  
  854.  
  855.      Page 13                                         (printed 10/3/02)
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.      XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))
  863.  
  864.  
  865.  
  866.                     the item is the first in the group, the action
  867.                     traverses to the first item in the previous tab
  868.                     group. The XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeBBBBuuuuttttttttoooonnnnTTTTaaaabbbb behavior applies
  869.                     only PushButton, ArrowButton, and DrawnButton.
  870.  
  871.           PrimitiveTraverseDown():
  872.                     Traverses to the next item below the current
  873.                     widget in the current tab group, wrapping if
  874.                     necessary.  The wrapping direction depends on the
  875.                     layout direction of the widget tab group.
  876.  
  877.           PrimitiveTraverseHome():
  878.                     Traverses to the first widget or gadget in the
  879.                     current tab group.
  880.  
  881.           PrimitiveTraverseLeft():
  882.                     Traverses to the next item to the left of the
  883.                     current widget in the current tab group, wrapping
  884.                     if necessary.  The wrapping direction depends on
  885.                     the layout direction of the widget tab group.
  886.  
  887.           PrimitiveTraverseNext():
  888.                     Traverses to the next item in the current tab
  889.                     group, wrapping if necessary.  The wrapping
  890.                     direction depends on the layout direction of the
  891.                     widget tab group.
  892.  
  893.           PrimitiveTraversePrev():
  894.                     Traverses to the previous item in the current tab
  895.                     group, wrapping if necessary.  The wrapping
  896.                     direction depends on the layout direction of the
  897.                     widget tab group.
  898.  
  899.           PrimitiveTraverseRight():
  900.                     Traverses to the next item to the right of the
  901.                     current gadget in the current tab group, wrapping
  902.                     if necessary.  The wrapping direction depends on
  903.                     the layout direction of the widget tab group.
  904.  
  905.           PrimitiveTraverseUp():
  906.                     Traverses to the next item above the current
  907.                     gadget in the current tab group, wrapping if
  908.                     necessary.  The wrapping direction depends on the
  909.                     layout direction of the widget tab group.
  910.  
  911.         AAAAddddddddiiiittttiiiioooonnnnaaaallll BBBBeeeehhhhaaaavvvviiiioooorrrr
  912.           This widget has the following additional behavior:
  913.  
  914.           <<<<FFFFooooccccuuuussssIIIInnnn>>>>:
  915.                     If the shell's keyboard focus policy is
  916.                     XXXXmmmmEEEEXXXXPPPPLLLLIIIICCCCIIIITTTT, highlights the widget and gives it the
  917.                     focus
  918.  
  919.  
  920.  
  921.      Page 14                                         (printed 10/3/02)
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.      XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee((((3333XXXX))))
  929.  
  930.  
  931.  
  932.           <<<<FFFFooooccccuuuussssOOOOuuuutttt>>>>:
  933.                     If the shell's keyboard focus policy is
  934.                     XXXXmmmmEEEEXXXXPPPPLLLLIIIICCCCIIIITTTT, unhighlights the widget and removes
  935.                     the focus
  936.  
  937.         VVVViiiirrrrttttuuuuaaaallll BBBBiiiinnnnddddiiiinnnnggggssss
  938.           The bindings for virtual keys are vendor specific.  For
  939.           information about bindings for virtual buttons and keys, see
  940.           VVVViiiirrrrttttuuuuaaaallllBBBBiiiinnnnddddiiiinnnnggggssss(3).
  941.  
  942.      RRRREEEELLLLAAAATTTTEEEEDDDD
  943.           CCCCoooorrrreeee(3), XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn(3), XXXXmmmmCCCChhhhaaaannnnggggeeeeCCCCoooolllloooorrrr(3), and XXXXmmmmSSSSccccrrrreeeeeeeennnn(3).
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.      Page 15                                         (printed 10/3/02)
  988.  
  989.  
  990.  
  991.